import request from '@/utils/request'

// 绑定用户身份
export function updateUserSex(data = {}) {
  return request({
    url: '/stu/user/updateUserSex',
    method: 'post',
    data
  })
}

// 添加学生
export function addClientStudent(data = {}) {
  return request({
    url: '/stu/client/addClientStudent',
    method: 'post',
    data
  })
}

// 删除学生
export function delClientStudent(data = {}) {
  return request({
    url: '/stu/client/delClientStudent',
    method: 'post',
    data
  })
}

// 获取学生列表
export function getClientStudent(data = {}) {
  return request({
    url: '/stu/client/getClientStudent',
    method: 'post',
    data
  })
}